package com.hehao.java_basic.doc_poi.demoEntity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@HeadStyle(fillForegroundColor = 30)
@HeadFontStyle(fontHeightInPoints = 11)
public class ExportData {
    @ExcelProperty("题号")
    @ColumnWidth(8)
    private Integer num;
    @ExcelProperty("题型")
    @ColumnWidth(8)
    private String typeStr;
    @ExcelProperty("题干")
    @ColumnWidth(8)
    private String title;
    @ExcelIgnore
    private List<ScaleQuestionOptionDto> options;

    private List<String> optionHeaders;

}